package com.shopoo.oauth.dto.cqe;

import javax.validation.constraints.NotNull;

import com.shopoo.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class UserSmsCmd extends Command {

    /**
     * 用户ID
     */
    @ApiModelProperty("用户ID")
    private String userId;

    @ApiModelProperty("用户电话号")
    @NotNull(message = "用户电话号不能为空")
    private String phoneNum;

    /**
     * 用户密码
     */
    @ApiModelProperty("用户密码")
    private String password;

    @ApiModelProperty("发送短信验证码")
    private String smsCode;

    /**
     * 用户密码
     */
    @ApiModelProperty("用户校验密码")
    private String passwordConfirm;

}
